home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / demos / audio / drive / Makefile < prev    next >
Encoding:
Makefile  |  1994-08-02  |  1.8 KB  |  57 lines

  1. #!smake
  2.  
  3. include $(ROOT)/usr/include/make/commondefs
  4.  
  5. # :++:  here, as in 
  6. #          src/exampleCode/inventor/sharedSV
  7. #          src/exampleCode/games/IndiZone/sw
  8. #       we have had to resort to building Inventor things with the eoe 
  9. #       and dev versions of Inventor 1.1.2 since these programs were not
  10. #       able to be ported over to Open Inventor 2.0 in time for v4.1 of 
  11. #       the toolbox.  
  12. #
  13. #       please refer to the README.Inventor at the top-of-tree for more 
  14. #       information about what one will have to do if one is likewise 
  15. #       trying to compile Inventor programs on 5.2 IRIX which have not 
  16. #       been ported to Inventor 2.0.  
  17. #
  18. #       (i.e., note use of $(MYROOT) below)
  19. #
  20.  
  21. TARGETS = drive
  22.  
  23. C++FILES = drive.c++ Simulation.c++ Car.c++ Driver.c++ Cockpit.c++ \
  24.     Icon.c++ Engine.c++ Dynamics.c++ Road.c++ Stretch.c++ Straight.c++ \
  25.     Curve.c++ Connect.c++ MiscMath.c++ Render.c++ so.c++ Noise.c++ \
  26.     Sound.c++ Scenery.c++ Timer.c++ Indicators.c++ Help.c++ Bspline.c++ \
  27.     ${NULL}
  28.  
  29. HFILES = Simulation.h Car.h Driver.h Cockpit.h \
  30.     Icon.h Engine.h Dynamics.h Road.h Stretch.h Straight.h \
  31.     Curve.h Connect.h MiscMath.h Render.h so.h Noise.h \
  32.     Sound.h Scenery.h Timer.h Indicators.h Help.h Bspline.h \
  33.     ${NULL}
  34.  
  35. #LLDOPTS    = -L/usr/lib
  36. #LC++INCS= -I. -I/usr/include/CC -I/usr/include
  37. # The following 2 lines were added to build w/Inventor 1.1.2 compatibility :++:
  38. LLDOPTS    = -L$(MYROOT)/usr/lib
  39. LC++INCS= -I. -I/usr/include/CC -I$(MYROOT)/usr/include
  40. LLDLIBS    = -lfm -lInventor -lsphere -lgutil -limage -lgl -lX11 -lm -lmpc -laudio
  41. LC++OPTS= +p -float
  42.  
  43. default:: ${TARGETS}
  44.  
  45. include $(COMMONRULES)
  46.  
  47.  
  48. drive: ${OBJECTS} shapes.o libsample.o
  49.     ${C++F} -o $@ ${OBJECTS} shapes.o libsample.o ${LDFLAGS}
  50.     ${TAG} 0x903F $@
  51.  
  52. shapes.o: shapes.c shapes.h
  53.     ${CCF} -c shapes.c
  54.  
  55. libsample.o: libsample.c sample.h
  56.     ${CCF} -c libsample.c
  57.